<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

<body>
<center><h3>SELAMAT DATANG <?=strtoupper($nama_lengkap)?></h3></center><hr />

	<div style="margin-top:1px; margin-left:-1px; border:1px solid #CCCCCC; border-radius: 4px 4px 4px 4px; float:left; overflow: auto" id="jero">
		<div id="data_admin">
			<table id="list_produk"></table>
		</div>
		
		<div id="data_user">
			
		<table width="100%" border="0">
		  <tr>
			<td width="123" valign="top">
				<img id="foto_na" src="<?=base_url()?>repositori/user_profil/<?=$data->foto?>" height="100" class="gambar_kecil" />			</td>
			<td valign="top" style=" margin-top:2px; padding:5px; width:220px;">
				UserName : <br />
					<b><?=$data->user_id?></b><br /><br />
				Email : <br />
					<b><?=$data->email?></b><br /><br />
				Bergabung Tanggal : <br />
					<b><?=$data->tgl_buat?></b><br /><br />			</td>
			<td valign="bottom">
			
			<fieldset>
					<div align="center"><img src="<?=base_url()?>assets/images/bikinkaosbebas-04.png" width="200px;" /></div><br />
					<div align="justify">
						<h3>Upload Design menarik kamu hanya di bikinkaosbebas.com </h3>
					</div>
			</fieldset></td>
		  </tr>
		  <tr>
		    <td colspan="3" valign="top">
			<fieldset>
				<form id="form_profil" method="post" enctype="multipart/form-data">
				<input type="hidden" name="sts" value="edit" />
				<input type="hidden" name="id" value="<?=$data->user_id?>" />
				 <center><h3 style="margin-top:-5px;">Data Profil</h3></center><hr />
				 <label>Upload Avatar </label> : <input type="file" name="foto" id="foto" style="width:200px;" class="easyui-validatebox text_na" />
				 <br />
				 <label>Nama Lengkap</label> : <input type="text" name="nama_lengkap" id="nama_lengkap" style="width:200px;" value="<?=$data->nama_lengkap?>" class="easyui-validatebox text_na" />
				 <br />
				 <label>Telp</label> : <input type="text" name="telp" id="telp" style="width:100px;" value="<?=$data->telp?>" class="easyui-validatebox text_na" />
				 <br />
				 <label>No. Hp</label> : <input type="text" name="hp" id="hp" style="width:150px;" value="<?=$data->hp?>" class="easyui-validatebox text_na" /><br />
				  <label>Alamat</label> <span style=" vertical-align:top">:</span> <textarea name="alamat" class="easyui-validatebox text_na" style="width:250px;" ><?=$data->alamat?></textarea>
				 </form>
				 <a id="btn" href="#" style="float:right">Update Data Profil</a>
				 
				 <br />
			</fieldset>
			</td>
	      </tr>
	  </table>
	</div>
</div>


</body>
</html>
<script>

if(user_group==1){
	$('#data_admin').css('display','inline');
	$('#data_user').css('display','none');
}
else{
	$('#data_admin').css('display','none');
}
 $('#jero').css('height',tinggi-255);
 $('#jero').css('width','100%');
 
 $('#btn').linkbutton({  
    iconCls: 'disk'  
});

$(document).ready(function(){
	
	$(".easyui-validatebox").validatebox({required:true } );
	$(".easyui-validatemail").validatebox({required:true,validType:'email'}); 
});
</script>
<script type="text/javascript" src="<?=base_url()?>assets/js/data/backend/home.js"></script>
